home *** CD-ROM | disk | FTP | other *** search
- Path: news.zeitgeist.net!usenet
- From: mwm@contessa.phone.net (Mike Meyer)
- Newsgroups: comp.sys.amiga.datacomm,comp.sys.amiga.advocacy,comp.sys.amiga.misc,comp.sys.amiga.networking
- Subject: Re: New Press Release!
- Date: Mon, 25 Mar 1996 10:02:23 PST
- Organization: Missionaria Phonibalonica
- Distribution: world
- Message-ID: <19960325.7665B58.91C6@contessa.phone.net>
- References: <4iofm6$e4j@serpens.rhein.de> <DoLC38.2G4@info.uucp> <4ir19b$mml@serpens.rhein.de> <oj6wx4dne22.fsf@hpsrk.fc.hp.com> <4ivdqe$62a@serpens.rhein.de> <19960323.75240E0.D624@contessa.phone.net> <4j37re$k6q@serpens.rhein.de>
- NNTP-Posting-Host: contessa.phone.net
- X-NewsReader: Amiga Yarn 3.9, 1995/05/09 10:42:03
-
- In <4j37re$k6q@serpens.rhein.de>, mlelstv@serpens.rhein.de (Michael van Elst) wrote:
- > mwm@contessa.phone.net (Mike Meyer) writes:
- > >> Err, yes. If you use more RAM than you have you start thrashing.
- > >Err, no. Using more RAM than you have is a necessary but precondition
- > >for thrashing, but it's not sufficient.
- > With "use memory" I was refering to "accessing memory". And this means
- > the working set of the process. As soon as your working set exceeds
- > real memory (or the sum of all working sets) you start thrashing.
- > And seeing that people want to use VM _in a paint program to load
- > pictures larger than real memory_ I am pretty sure that the whole
- > picture is part of the working set.
-
- I'm not. I'm pretty sure that the working set will largely be
- restricted to the portion of the picture that's visible on the screen.
- The exceptions will include operations on the entire image. The
- application needs to be written with some knowledge that it's working
- in a VM environment so that it doesn't try frobbing a few bits on each
- page before going on to the next one. So long as it handles all or
- most of one page before going to far ahead, everything will work fine.
-
- > For batch processing programs thrashing might be tolerable (that's
- > why I said that AdPro or Lightwave can utilize VM). But then you
- > don't expect someone to buy an EC030 machine to run AdPro or
- > Lightwave, no ?
-
- Thrashing is NEVER tolerable. You seem to be using "thrashing" in the
- same way that I would use "paging": to indicate that the demand paging
- system is working as designed, and you are actually paging things
- to/from disk. Paging to a degree is tolerably in interactive programs.
- Paging isn't a real problem in batch processes and the like.
- Thrashing is normally used to indicate the situation where something
- is BROKEN in the demand paging system, such that you're spending more
- time waiting on pages than performing user functionality.
-
- This should be distinguished from swapping, which is the case where
- the entire program and data have been paged out. This is a pain for
- interactive applications; waiting for a large programs working set to
- be paged back in is painful :-(. It's not a problem at all for batch
- programs.
-
- Of course, none of paging, swapping or thrashing are acceptable in
- systems that demand quick real-time response.
-
- > >In general, it's considered a win. Systems designed to handle
- > >processes that can't afford the performance degradation due to demand
- > >paging usually have hooks to lock those processes in memory.
- > You have to look at how a machine is used. AmigaOS is not UNIX and
- > very few people use it to run a plethora of low priority background
- > daemons (that don't care about being swapped out) or as a multi-user
- > machine (where VM more or less guarantees that no user monopolizes
- > the memory resources).
-
- I'd be surprised if your characterization of Unix useage is correct.
- The bulk of Unix boxes I see are desktop workstations (by an order of
- magnitude or more) which are no more used to run a plethora of low
- priority background daemons than AmigaDOS boxes are. That they can do
- so trivially is a matter of heritage, not necessity.
-
- Of course, my AmigaDOS box has a plethora of low-priority background
- daemons. They are heavily weighted toward things that are part of it
- being a desktop workstation (14) and instead of things that are part
- of it being an Internet server (8).
-
- > I agree that VM is better than nothing but IMHO it doesn't justify
- > extra cost for everyone.
-
- That's certainly true. It's true of any peice of functionality you may
- want to add to a system. The interesting question is whether you'll
- lose more sales because you raise the price or because you left out
- the functionality in question. I don't pretend that what's true for me
- is true for anyone else, or to know what the answer will be for any
- specific feature.
-
- <mike
-